package com.aokang.footwear.web;

import com.chiyoyo.tokenhelper.TokenHelper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cl
 * @date 2025/3/4
 */
@Api(tags = "测试")
@RestController
@RequestMapping("/test1")
public class Test1 {

    @ApiOperation(value = "test1")
    @PostMapping(value = "/test1")
    public void test1()  {
        String appToken = TokenHelper.createAppToken("123", "789");
        System.out.println(appToken);
    }
}
